Specialisation of Field for array types.
#include <nrg_field.h>
Public Member Functions | |
Field (FieldContainer *c) | |
Field (FieldContainer *c, const T(&t)[N]) | |
virtual size_t | readFromPacket (Packet &p) |
Reads data from Packet p into this Field. | |
virtual size_t | writeToPacket (Packet &p) const |
Writes this Field into the Packet p . | |
virtual void | shiftData () |
Indicates a new Snapshot has begun and the Field should move data_next to data. | |
virtual void | setUpdated (bool updated) |
Force this Field's updated flag to be true or false. | |
void | set (size_t index, const T &other) |
Field & | operator= (const T(&other)[N]) |
T | get (size_t index) const |
template<class F > | |
T | getInterp (size_t index, const F &func) const |
T | getInterp (size_t index) const |